package com.svs.quartz.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.svs.common.base.AjaxResult;
import com.svs.framework.web.BaseController;
import com.svs.quartz.service.WisDataColService;
import com.svs.quartz.service.WisDataGroupService;
import com.svs.quartz.service.WisDataSourceService;

/**
 * 数据同步字段 信息操作处理
 * 
 * @author 杜建桥
 * @date 2019-02-16
 */
@Controller
@RequestMapping("/quartz/wisDataCol")
public class WisDataColController extends BaseController {


	@Autowired
	WisDataColService wisDataColService ;
	@Autowired
	WisDataGroupService wisDataGroupService;
	@Autowired
	WisDataSourceService wisDataSourceService;
	
	
	
	/**
	 * 删除数据同步组
	 */
	@PostMapping("/exeSync")
	@ResponseBody
	public AjaxResult exeSync(Long id) {
		wisDataColService.exeSyncData(id) ;
		return success() ;
	}
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
}
